using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN QuanHeHocPhanEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: QuanHeHocPhanEntity</para>
	/// <para>Description: ClassQuanHeHocPhanEntity store data of table QuanHeHocPhan</para>
	///</summary>

	[DataContract]
	public partial class QuanHeHocPhanEntity{


		private bool _InternalChangedIsNullQuanHeHocPhan_ID=true;
		private bool _IsNullQuanHeHocPhan_ID=true;
		private bool _InternalChangedIsNullTuChiTietChuongTrinh_ID=true;
		private bool _IsNullTuChiTietChuongTrinh_ID=true;
		private bool _InternalChangedIsNullDenChiTietChuongTrinh_ID=true;
		private bool _IsNullDenChiTietChuongTrinh_ID=true;
		private bool _InternalChangedIsNullLoaiQuanHe=true;
		private bool _IsNullLoaiQuanHe=true;
		private int _QuanHeHocPhan_ID;
		private int _TuChiTietChuongTrinh_ID;
		private int _DenChiTietChuongTrinh_ID;
		private Byte _LoaiQuanHe;
		[DataMember]
		public bool IsNullQuanHeHocPhan_ID{
			get{return _IsNullQuanHeHocPhan_ID;}
			set{if(!_InternalChangedIsNullQuanHeHocPhan_ID)_IsNullQuanHeHocPhan_ID=value;}
		}
		[DataMember]
		public bool IsNullTuChiTietChuongTrinh_ID{
			get{return _IsNullTuChiTietChuongTrinh_ID;}
			set{if(!_InternalChangedIsNullTuChiTietChuongTrinh_ID)_IsNullTuChiTietChuongTrinh_ID=value;}
		}
		[DataMember]
		public bool IsNullDenChiTietChuongTrinh_ID{
			get{return _IsNullDenChiTietChuongTrinh_ID;}
			set{if(!_InternalChangedIsNullDenChiTietChuongTrinh_ID)_IsNullDenChiTietChuongTrinh_ID=value;}
		}
		[DataMember]
		public bool IsNullLoaiQuanHe{
			get{return _IsNullLoaiQuanHe;}
			set{if(!_InternalChangedIsNullLoaiQuanHe)_IsNullLoaiQuanHe=value;}
		}
		[DataMember]
		public int QuanHeHocPhan_ID{
			get{return _QuanHeHocPhan_ID;}
			set{
				_QuanHeHocPhan_ID=value;
				if(_QuanHeHocPhan_ID!=null){
					_IsNullQuanHeHocPhan_ID=false;
					_InternalChangedIsNullQuanHeHocPhan_ID=true;
				}
			}
		}
		[DataMember]
		public int TuChiTietChuongTrinh_ID{
			get{return _TuChiTietChuongTrinh_ID;}
			set{
				_TuChiTietChuongTrinh_ID=value;
				if(_TuChiTietChuongTrinh_ID!=null){
					_IsNullTuChiTietChuongTrinh_ID=false;
					_InternalChangedIsNullTuChiTietChuongTrinh_ID=true;
				}
			}
		}
		[DataMember]
		public int DenChiTietChuongTrinh_ID{
			get{return _DenChiTietChuongTrinh_ID;}
			set{
				_DenChiTietChuongTrinh_ID=value;
				if(_DenChiTietChuongTrinh_ID!=null){
					_IsNullDenChiTietChuongTrinh_ID=false;
					_InternalChangedIsNullDenChiTietChuongTrinh_ID=true;
				}
			}
		}
		[DataMember]
		public Byte LoaiQuanHe{
			get{return _LoaiQuanHe;}
			set{
				_LoaiQuanHe=value;
				if(_LoaiQuanHe!=null){
					_IsNullLoaiQuanHe=false;
					_InternalChangedIsNullLoaiQuanHe=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END QuanHeHocPhanEntityBase*****************************************/
	/*****************************************************************************************************/
}

